package communication.server.vertx.dao;

import communication.server.vertx.entity.DeviceInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 用户设备信息dao
 * @author mac
 */
@Repository
public interface DeviceInfoDao extends JpaRepository<DeviceInfo,Long> {
    /**
     *  根据userId查询
     * @param id
     */
    DeviceInfo getByUserId(Long id);
}
